package com.casic.ops.service.api.pipeline;

import com.casic.ops.entity.dto.pipeline.PipelineNodeTemplateDTO;
import com.casic.ops.entity.request.pipeline.CommonPageRequest;
import com.casic.ops.entity.request.pipeline.PipelineNodeTemplateRequest;
import com.casic.ops.entity.vo.pipeline.response.MultiResponse;
import com.casic.ops.entity.vo.pipeline.response.PageResponse;
import com.casic.ops.entity.vo.pipeline.response.Response;
import com.casic.ops.entity.vo.pipeline.response.SingleResponse;

/**
 * 流水线节点类型服务
 * @author cww
 * @date 2022/6/17
 */
public interface PipelineNodeTemplateService {
    Response add(PipelineNodeTemplateRequest pipelineNodeTemplateRequest);
    Response update(PipelineNodeTemplateRequest pipelineNodeTemplateRequest);
    Response delete(Long[] ids);
    SingleResponse<PipelineNodeTemplateDTO> getById(Long id);
    MultiResponse<PipelineNodeTemplateDTO> list();
    PageResponse<PipelineNodeTemplateDTO> page(CommonPageRequest request);
}
